import type { ProColumns } from '@ant-design/pro-table';
export type columnsDataType = {};
const columnsData: ProColumns<columnsDataType>[] = [
  // 配置搜索框
  {
    title: '名称',
    dataIndex: 'name',
    hideInTable: true,
  },
  {
    title: '标识编码',
    dataIndex: 'identificationCode',
    hideInTable: true,
  },
  // 表头
  {
    title: '名称',
    dataIndex: 'name',
    hideInSearch: true,
  },
  {
    title: '标识编码',
    dataIndex: 'identificationCode',
    hideInSearch: true,
  },
  {
    title: '版本',
    dataIndex: 'edition',
    hideInSearch: true,
  },
  {
    title: '部署',
    dataIndex: 'deploy',
    hideInSearch: true,
    valueEnum: {
      undeploy: {
        text: '未解决',
        status: 'Error',
      },
      deployed: {
        text: '已解决',
        status: 'Success',
        disabled: true,
      },
    },
  },
  {
    title: '创建时间',
    dataIndex: 'createTime',
    hideInSearch: true,
  },
  {
    title: '操作',
    dataIndex: 'action',
    hideInSearch: true,
    width: 230,
  },
];

export default columnsData;
